package cn.line5.seam.annotations;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * <h1>定义输出</h1>
 * 定义输出到页面的内容，如果在方法执行完毕后定义的输出内容不为NULL则会调用HttpServletRequest的setAttribute方法。<br/>
 * 
 * eg:<br/>
 * <I> class Test {<br/>
 * ...<br/>
 * 
 * &#64;Out<br/>
 * private String str;<br/>
 * ...<br/>
 * } </I>
 * 
 * @author Liu,Xiaojun
 * @since JDK1.6
 */
@Target(FIELD)
@Retention(RUNTIME)
@Documented
public @interface Out {
}